Fix the change with paragraph_dir initialization.
authorEli Zaretskii <eliz@gnu.org>
Thu, 13 Oct 2011 11:17:32 +0000 (13:17 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 13 Oct 2011 11:17:32 +0000 (13:17 +0200)
commit1986e219eb92f55032c078247705dbaf29f6006b
tree48586a29ad3f3977529f0681fd1acea4396d6d23
parente57aaf19d692c2bd9cfff155fbf1014eb2045e23
Fix the change with paragraph_dir initialization.

 src/bidi.c (bidi_init_it): Don't initialize paragraph_dir here, as
 some callers set that themselves.
 src/xdisp.c (Fcurrent_bidi_paragraph_direction): Initialize
 itb.paragraph_dir to NEUTRAL_DIR.  Fixes an occasional incorrect
 cursor motion with <left> and <right> arrow keys.
src/ChangeLog
src/bidi.c
src/xdisp.c